package com.san.hkhospital.mapper;

import com.san.hkhospital.entity.DeptSection;
import com.san.hkhospital.entity.DeptSectionExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * ClassName:DeptSectionMapper
 * PackageName:com.san.hkhospital.mapper
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 19:26
 */


public interface DeptSectionMapper {
    long countByExample(DeptSectionExample example);

    int deleteByExample(DeptSectionExample example);

    int deleteByPrimaryKey(@Param("deptId") Integer deptId, @Param("sectionId") Integer sectionId);

    int insert(DeptSection record);

    int insertSelective(DeptSection record);

    List<DeptSection> selectByExample(DeptSectionExample example);

    int updateByExampleSelective(@Param("record") DeptSection record, @Param("example") DeptSectionExample example);

    int updateByExample(@Param("record") DeptSection record, @Param("example") DeptSectionExample example);
}